<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
<section class="content">
    <div class="box">
        <div class="box-body">
            <form id="searchForm" class="form-inline">
                <div class="form-group">
                    <label for="name"> 分类名称： </label>
                    <input type="text" class="form-control" id="name" name="name" placeholder="请输入分类名称"
                           autocomplete="off">
                </div>
                <button class="btn  btn-default  btn-sm" type="button" onclick="restForm()">重置</button>
                <button class="btn  btn-success btn-sm" type="button" onclick="searchForm()">搜索</button>
            </form>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-12">
            <table id="table"></table>
        </div>
    </div>
</section>

<!--引入js-->
<div th:include="include :: footer"></div>
<script th:src="@{/demo/resources/in/category.js}"></script>
</body>
</html>